package com.Tjise.JAVAzuoye1;

public abstract class Shape {
    private double area;
    private double per;
    private String color;

    public Shape() {
    }

    public Shape(String color) {
        this.color = color;
    }

    public abstract double getArea();

    public abstract double getPer();

    @Override
    public abstract String toString();

    public String getColor() {
        return color;
    }
}
